package zb.thr2;

/**
 * @author wzby
 * @Date: 2022/8/8 15:32
 */
public class Demo {
    public static void main(String[] args) {
        T1 t1 = new T1();
        for (int i = 0; i < 10; i++) {
            Thread th = new Thread(t1);
            th.start();

        }


        // for (int i = 0; i < 10; i++){
        //Thread th = new Thread(() -> {
        //      System.out.println(Thread.currentThread().getName());
        // });
        //th.start();
    }
}

